<div class="d-md-flex justify-content-between align-items-center">
  <%= paginate pager, window: 2, theme: 'bootstrap' %>
  <p>
    <%= page_entries_info pager %>
    <%= link_to_open_all pager %>
  </p>
</div>